FROM openjdk:8u292-jre-slim

ADD target/bbs-user-*-SNAPSHOT.jar /opt/user-app.jar

RUN echo 'Asia/Shanghai' >/etc/timezone \

EXPOSE 10610

WORKDIR /var/www/app

ENTRYPOINT ["sh","-c","java -jar /opt/user-app.jar"]